<script lang="ts" setup>
import { defineProps } from 'vue'

const props = defineProps({
    url: String,
})
</script>

<template>
    <el-image style="width: 80px; height: 60px; margin: 10px 0px"
              :src="props.url"
              :zoom-rate="1.2"
              :max-scale="7"
              :min-scale="0.2"
              :initial-index="4"
              :preview-src-list="[props.url]"
              fit="cover"
    />
</template>
